import Layout from "@/views/home"
import RightLayout from "@/views/home/rightLayout.vue"
export default [
    // 工单分析
    {
        path: "/promblemOrder",
        name: "promblemOrder",
        meta: { title: "工单分析" },
        component: Layout,
        children: [{
                path: 'orderImport',
                meta: { title: "工单数据导入" },
                component: RightLayout,
                children: [
                    {
                        path: 'import',
                        meta: { title: "导入工单" },
                        component: () => import('@/views/orderAnalysis/importOrder/import.vue')
                    },
                    {
                        path: 'query',
                        meta: { title: "查看导入工单" },
                        component: () => import('@/views/orderAnalysis/importOrder/queryOrder.vue')
                    }
                ]
            },
            {
                path: 'orderReport',
                meta: { title: "工单报表" },
                component: RightLayout,
                children: [{
                        path: "month-module",
                        name: "month-module",
                        meta: { title: "月度模块报表" },
                        component: () =>
                            import ("@/views/orderAnalysis")
                    },
                    {
                        path: "month-trend",
                        name: "month-trend",
                        meta: { title: "月度工单趋势图" },
                        component: () =>
                            import ("@/views/orderAnalysis/orderReport/month-trend.vue")
                    }
                ]
            }
        ],

    },
]